<%@ page language="java" import="java.util.*,com.knife.blog.logic.CurrentUser,com.knife.web.tools.IActiveUser,com.knife.review.BlogMessage" pageEncoding="UTF-8"%><%
            IActiveUser user = null;
            int allMessage=0;
            try {
                user = CurrentUser.getActiveUser();
                if(user!=null){
                    String env = " auditing=0 and belonguser='" + user.getUserName() + "'";
                    allMessage = new BlogMessage().getCount(env);
                    out.print(allMessage);
                }
            } catch (Exception e) {
            }
%>